package com.dmap.community.service.community;

import com.dmap.community.bo.reply.ReplyBo;
import com.dmap.community.bo.reply.ReplyCommentBo;

import java.util.List;

/**
 * \* User: silent
 * \* Date: 14/11/17 Time: 10:16
 * \* Description:
 * \
 */
public interface ReplyService {


    /**
     * 新增主题品论
     */
    int insertReplyTheme(long themeId, long userId, String comment);

    /**
     * 新增主题评论的回复
     */
    int insetReplyComment(long replyId, long userId, String comment);

    int deleteReplyTheme(long themeId);

    int deleteReplyComment(long replyId);

    int countReplyThemeNumber(long themeId);

    List<ReplyBo> selectReplyTheme(long themeId, int pageIndex, int pageSize);

    List<ReplyCommentBo> selectReplyComment(long replyId, int pageIndex, int pageSize);
}
